cc=/home/arte/workspace/driver/tools/gcc-3.4.5-glibc-2.3.6/bin/arm-linux-gcc
ld=/home/arte/workspace/driver/tools/gcc-3.4.5-glibc-2.3.6/bin/arm-linux-ld
objcp=/home/arte/workspace/driver/tools/gcc-3.4.5-glibc-2.3.6/bin/arm-linux-objcopy
objdmp=/home/arte/workspace/driver/tools/gcc-3.4.5-glibc-2.3.6/bin/arm-linux-objdump

all:
	$(cc) -c -o start.o start.S
	$(cc) -c -o led.o led.c
	$(ld) -Ttext 0 start.o led.o -o led.elf
	$(objcp) -O binary -S led.elf led.bin
	$(objdmp) -D led.elf > led.dis

clean:
	rm *.bin *.o *.elf *.dis
 
